package com.atguigu.yygh.user.client;

import com.atguigu.yygh.model.user.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-user")
public interface PatientFeignClient {
    /**
     * 获取就诊人
     * @param id
     * @return
     */
    @GetMapping("/api/user/patient/auth/getPatientVo/{id}")
    public Patient getPatientVo(@PathVariable Long id);
}
